OpenResty OPM Compatibility and Upload #17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes:
Created
dist.inito support building lib as an OpenResty OPM packageMoved source files into
libfolder because OPM package builder adds all subdirectories; specifyinglib_diras top level directory in dist.ini causes the test folder to be included as well.I have not used luarocks before so I did not touch the
.rockspecfile. Might need to change some stuff there.As a result, changed
package.pathoftest/test.luafrom../?.lua;to../lib/?.lua;Edited
.gitignoreto ignore files created byopm buildI hope I got the credentials right in
dist.ini. In the meantime, I hope you don't mind the fact that I've uploaded a copy of the package onto OPM under my github handle:billythedummy/SLAXML. Please let me know when you've merged the changes and pushed your build onto OPM, and I'll take it down. I do not wish to contribute to OPM bloat lol